package com.chenlonghai.sbmybatis.dao;

import java.util.List;

import com.chenlonghai.sbmybatis.entity.Banner;

public interface BannerDao {
	 List<Banner>queryBanner();
	 List<Banner>queryBannerByType(String type);
	 Banner queryBannerById(int id);
	 int addBannner(Banner banner);
	 int deleteBannerById(int id);
	 int updateBanner(Banner banner);
}
